package com.sugar.follow.up.module.business.controller.admin.tag.vo;

import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 标签 Response VO")
@Data
public class TagTreeRespVO {

    @Schema(description = "标签标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标签标题")
    private String title;

    @Schema(description = "标签标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标签标题")
    private String label;

    @Schema(description = "标签标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标签标题")
    private String value;

    @Schema(description = "标签内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标签内容")
    private List<String> content;

    @Schema(description = "子标签", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("子标签")
    private List<TagTreeRespVO> children;
}
